net/http.persistConn.readLimit (field)

9 uses

	net/http (current package)
		transport.go#L1915: 	readLimit int64 // bytes allowed to be read; owned by readLoop
		transport.go#L1948: 	if pc.readLimit <= 0 {
		transport.go#L1951: 	if int64(len(p)) > pc.readLimit {
		transport.go#L1952: 		p = p[:pc.readLimit]
		transport.go#L1958: 	pc.readLimit -= int64(n)
		transport.go#L2117: 		pc.readLimit = pc.maxHeaderResponseSize()
		transport.go#L2140: 			if pc.readLimit <= 0 {
		transport.go#L2151: 		pc.readLimit = maxInt64 // effectively no limit for response bodies
		transport.go#L2336: 			pc.readLimit = pc.maxHeaderResponseSize() // reset the limit